﻿@model IEnumerable<GSLMS.Entity.TB_APP_PROCONINFO>
@{
    Layout = null;
    bool actionto = string.IsNullOrEmpty(Request["actionto"]) ? false : Request["actionto"].Equals("read");  
}
<table class="list" width="100%" layouth="300">
    <thead>
        <tr class="header">
            <th>
                联系人
            </th>
            <th>
                关系
            </th>
            <th>
                手机1
            </th>
            <th>
                操作
            </th>
        </tr>
    </thead>
    @foreach (var item in Model)
    {            
        <tr>
            <td>@item.CONNAME
            </td>
            <td>
                @((GSLMS.Entity.Enum.ApplyEnum.ProRelation)GSLMS.Core.Helper.ToInt(item.RELATION))
            </td>
            <td>
                @item.MOBILE1
            </td>
            <td>
                <a class="btnView" href="DianDang/Apply/ProInfo/ConInfoDetails/@item.ID"  target="dialog" title="查看-联系人[@item.CONNAME]">
                    查看</a> &nbsp;
                @if (!actionto)
                {
                   
                    <a class="btnEdit" href="#" onclick=" RefreshProConInfoCreate(@item.ID)">修改</a> 
                }
                &nbsp;
                <a class="btnDel" href="DianDang/Apply/ProInfo/ConInfoDelete/@item.ID"  target="ajaxTodo" callback="RefreshProConInfoList">删除</a>
            </td>
        </tr>         
    }
</table>
